package a.j;

import a.b.a;
import a.b.b;
import a.b.c;
import a.b.d;
import a.c.y;
import a.f.rc;

import javax.swing.*;
import javax.swing.event.MouseInputListener;
import javax.swing.event.PopupMenuEvent;
import javax.swing.event.PopupMenuListener;
import java.awt.*;
import java.awt.event.ActionListener;
import java.awt.event.AdjustmentEvent;
import java.awt.event.AdjustmentListener;
import java.awt.event.MouseEvent;
import java.awt.geom.AffineTransform;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.awt.geom.RectangularShape;
import java.beans.PropertyChangeListener;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;

public class pg
  extends JComponent
  implements ze, df, ScrollPaneConstants, af, b
{
  public static final int e = 0;
  public static final int f = 1;
  public static final int g = 2;
  public static final int h = 3;
  public static final int i = 4;
  public static final byte j = 0;
  public static final byte k = 1;
  public static final int l = 0;
  public static final int m = 1;
  public static final int n = 2;
  public static final int o = 4;
  private ef p;
  private og q;
  private g r;
  private uc s;
  private JScrollBar t;
  private JScrollBar u;
  private int v = 20;
  private int w = 30;
  private ge x;
  private boolean y;
  private boolean z;
  private JPanel A;
  private int B;
  private c_ C;
  private RenderingHints D;
  public static boolean E;
  
  public pg()
  {
    this(new g());
  }
  
  public pg(g paramg)
  {
    a(paramg);
    a(new ef(this));
  }
  
  public pg(g paramg, ef paramef)
  {
    if (!ld.E)
    {
      a(paramg);
      if (paramef == null) {}
    }
    else
    {
      a(paramef);
    }
  }
  
  private void a(g paramg)
  {
    boolean bool = ld.E;
    putClientProperty("UnitIncrementPixels", new Integer(20));
    this.r = paramg;
    paramg.b(this);
    this.s = new tc.b_(this);
    this.C = new c_(null);
    this.q = h();
    this.q.addMouseListener(this.C);
    this.q.addMouseMotionListener(this.C);
    d_ locald_ = new d_();
    this.u = new JScrollBar(0);
    this.u.addAdjustmentListener(locald_);
    this.t = new JScrollBar(1);
    this.t.addAdjustmentListener(locald_);
    this.x = new ge();
    setLayout(this.x);
    this.A = j();
    if (!bool)
    {
      if (this.A != null) {
        add(this.A, "GLASS_PANE");
      }
      add(this.q, "CANVAS");
      add(this.t, "VERTICAL_SCROLLBAR");
      add(this.u, "HORIZONTAL_SCROLLBAR");
    }
    JPanel localJPanel = new JPanel();
    add(localJPanel, "CORNER_COMPONENT");
    if (!bool) {
      if (this.A != null) {
        this.A.setPreferredSize(this.x.preferredLayoutSize(this));
      }
    }
    if (((bool) || (this.t.isOpaque())) && ((bool) || (this.u.isOpaque())) && ((bool) || (localJPanel.isOpaque()))) {
      if (bool) {}
    }
    setOpaque(this.q.isOpaque());
    setPreferredSize(new Dimension(480, 480));
    this.D = new RenderingHints(new HashMap());
    this.D.put(RenderingHints.KEY_STROKE_CONTROL, RenderingHints.VALUE_STROKE_NORMALIZE);
    g();
  }
  
  public boolean isOptimizedDrawingEnabled()
  {
    boolean bool = ld.E;
    if ((bool) || (this.A != null)) {
      if (bool) {
        break label30;
      }
    }
    label30:
    return this.A.getComponentCount() == 0;
  }
  
  protected void g()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    ActionMap localActionMap1 = B().getActionMap();
    if (!bool2) {
      if (localActionMap1 == null)
      {
        localActionMap1 = new ActionMap();
        B().setActionMap(localActionMap1);
      }
    }
    ActionMap localActionMap2 = new lc(this).db();
    Object[] arrayOfObject = localActionMap2.keys();
    int i1 = 0;
    do
    {
      if (i1 >= arrayOfObject.length) {
        break;
      }
      Object localObject = arrayOfObject[i1];
      if (!bool2)
      {
        if (localActionMap1.get(localObject) == null) {
          localActionMap1.put(localObject, localActionMap2.get(localObject));
        }
        i1++;
      }
    } while (!bool1);
  }
  
  og h()
  {
    return new og(this);
  }
  
  MouseEvent i()
  {
    return this.C.a;
  }
  
  protected JPanel j()
  {
    JPanel local0 = new JPanel()
    {
      protected void paintComponent(Graphics paramAnonymousGraphics) {}
    };
    local0.setOpaque(false);
    local0.setBackground(null);
    return local0;
  }
  
  public JPanel k()
  {
    return this.A;
  }
  
  public void l()
  {
    this.q.m();
  }
  
  public void a(boolean paramBoolean)
  {
    this.z = paramBoolean;
  }
  
  public boolean m()
  {
    return this.z;
  }
  
  public void setBounds(int paramInt1, int paramInt2, int paramInt3, int paramInt4)
  {
    n.a(this, ">>>setBounds");
    super.setBounds(paramInt1, paramInt2, paramInt3, paramInt4);
    n.a(this, "<<<setBounds");
  }
  
  public void a(ef paramef)
  {
    if (!ld.E)
    {
      if (this.p != null) {
        this.p.b();
      }
      this.p = paramef;
    }
    this.p.a(this);
  }
  
  public ef f()
  {
    return this.p;
  }
  
  public int n()
  {
    return this.w;
  }
  
  public int o()
  {
    return this.v;
  }
  
  public void a(int paramInt)
  {
    this.w = paramInt;
  }
  
  public void b(int paramInt)
  {
    this.v = paramInt;
  }
  
  public void a(int paramInt1, int paramInt2)
  {
    this.v = paramInt1;
    this.w = paramInt2;
  }
  
  void p()
  {
    boolean bool = ld.E;
    this.y = true;
    Rectangle localRectangle = this.q.k();
    int i1 = localRectangle.x;
    int i2 = i1 + localRectangle.width;
    int i3 = (int)(this.q.getWidth() / M());
    int i4 = (int)this.q.s.x;
    this.u.setValues(i4, i3, i1, i2);
    i1 = localRectangle.y;
    i2 = i1 + localRectangle.height;
    i3 = (int)(this.q.getHeight() / M());
    i4 = (int)this.q.s.y;
    this.t.setValues(i4, i3, i1, i2);
    this.t.setBlockIncrement(this.t.getVisibleAmount() / 2);
    this.u.setBlockIncrement(this.u.getVisibleAmount() / 2);
    Object localObject = getClientProperty("UnitIncrementPixels");
    if (!bool)
    {
      if ((localObject instanceof Number))
      {
        int i5 = ((Number)localObject).intValue();
        int i6 = (int)(i5 / M());
        if (bool) {
          return;
        }
        if (i6 > 0)
        {
          this.t.setUnitIncrement(i6);
          this.u.setUnitIncrement(i6);
        }
      }
      this.y = false;
    }
  }
  
  public boolean q()
  {
    boolean bool = this.x.a(this);
    if (!ld.E) {
      if (bool) {
        doLayout();
      }
    }
    return bool;
  }
  
  void a(int paramInt, boolean paramBoolean1, boolean paramBoolean2, boolean paramBoolean3, boolean paramBoolean4)
  {
    boolean bool = ld.E;
    JScrollBar localJScrollBar = a(paramBoolean2, paramBoolean3);
    if ((bool) || (localJScrollBar.isVisible()))
    {
      int i1 = paramInt * a(localJScrollBar, paramBoolean1, paramBoolean4);
      if (!bool)
      {
        if (paramBoolean4)
        {
          if (bool) {
            break label110;
          }
          localJScrollBar.setValue(Math.max(localJScrollBar.getMinimum(), localJScrollBar.getValue() + i1));
        }
      }
      else if (!ld.D) {
        return;
      }
      label110:
      localJScrollBar.setValue(Math.min(localJScrollBar.getMaximum() - localJScrollBar.getModel().getExtent(), localJScrollBar.getValue() + i1));
    }
  }
  
  private JScrollBar a(boolean paramBoolean1, boolean paramBoolean2)
  {
    boolean bool = ld.E;
    if ((bool) || (paramBoolean2)) {
      return paramBoolean1 ? this.u : this.t;
    }
    JScrollBar localJScrollBar1 = this.u;
    JScrollBar localJScrollBar2 = this.t;
    if (!bool) {
      if (localJScrollBar2.isVisible())
      {
        if (!bool) {
          if (localJScrollBar1.isVisible()) {
            return paramBoolean1 ? localJScrollBar1 : localJScrollBar2;
          }
        }
        return localJScrollBar2;
      }
    }
    if (!bool) {
      if (localJScrollBar1.isVisible()) {
        return localJScrollBar1;
      }
    }
    return paramBoolean1 ? localJScrollBar1 : localJScrollBar2;
  }
  
  private static int a(JScrollBar paramJScrollBar, boolean paramBoolean1, boolean paramBoolean2)
  {
    boolean bool = ld.E;
    if (paramBoolean1)
    {
      if (!bool) {}
      return paramJScrollBar.getBlockIncrement(paramBoolean2 ? -1 : 1);
    }
    if (!bool) {}
    return paramJScrollBar.getUnitIncrement(paramBoolean2 ? -1 : 1);
  }
  
  static pg a(Object paramObject)
  {
    boolean bool = ld.E;
    if ((bool) || ((paramObject instanceof og)))
    {
      Container localContainer = ((og)paramObject).getParent();
      if ((bool) || ((localContainer instanceof pg))) {
        return (pg)localContainer;
      }
    }
    return null;
  }
  
  public boolean isValidateRoot()
  {
    return false;
  }
  
  protected pc r()
  {
    pc localpc = new pc();
    localpc.a(this);
    localpc.b(SwingUtilities.getRoot(this) == null);
    return localpc;
  }
  
  public void a(gf paramgf)
  {
    if (paramgf != null)
    {
      C().a(paramgf);
      if (!ld.D) {}
    }
    else
    {
      throw new NullPointerException();
    }
  }
  
  public void b(gf paramgf)
  {
    if (paramgf != null)
    {
      C().b(paramgf);
      if (!ld.D) {}
    }
    else
    {
      throw new NullPointerException();
    }
  }
  
  public Iterator s()
  {
    return Collections.unmodifiableList(C().L()).iterator();
  }
  
  public boolean t()
  {
    return this.q.a();
  }
  
  public void b(boolean paramBoolean)
  {
    this.q.a(paramBoolean);
  }
  
  public void c(boolean paramBoolean)
  {
    this.q.e(paramBoolean);
  }
  
  public void d(boolean paramBoolean)
  {
    this.q.g(paramBoolean);
  }
  
  public boolean u()
  {
    return this.q.v();
  }
  
  public boolean v()
  {
    return this.q.J();
  }
  
  public void a(double paramDouble)
  {
    this.q.g(paramDouble);
  }
  
  public double w()
  {
    return this.q.x();
  }
  
  public void c(int paramInt)
  {
    this.q.b(paramInt);
  }
  
  public int x()
  {
    return this.q.w();
  }
  
  public void a(Color paramColor)
  {
    this.q.a(paramColor);
  }
  
  public Color y()
  {
    return this.q.u();
  }
  
  public void a(int paramInt1, int paramInt2, int paramInt3, int paramInt4)
  {
    this.q.b(paramInt1, paramInt2, paramInt3, paramInt4);
  }
  
  public Rectangle z()
  {
    return this.q.k();
  }
  
  public void b(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    this.q.c(paramDouble1, paramDouble2, paramDouble3, paramDouble4);
  }
  
  public Rectangle2D A()
  {
    return this.q.l();
  }
  
  public JComponent B()
  {
    return this.q;
  }
  
  og C()
  {
    return this.q;
  }
  
  public Image D()
  {
    return this.q.c();
  }
  
  public void F()
  {
    e(false);
  }
  
  public void e(boolean paramBoolean)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    if ((bool2) || (paramBoolean))
    {
      int i1 = o();
      int i2 = n();
      if (!bool2) {
        if (i1 == 20) {
          b(21);
        }
      }
      if (i2 == 30) {
        a(31);
      }
      double d1 = 1.0D;
      Point2D.Double localDouble = new Point2D.Double(0.0D, 0.0D);
      double d2 = getWidth();
      double d3 = getHeight();
      Rectangle localRectangle = H();
      double d4 = localRectangle.getX();
      double d5 = localRectangle.getY();
      double d6 = localRectangle.getWidth();
      double d7 = localRectangle.getHeight();
      if (!bool2) {
        if (d6 <= d2)
        {
          if (bool2) {
            break label208;
          }
          if (d7 <= d3)
          {
            if (bool2) {
              break label315;
            }
            if (d6 <= 0.0D) {
              break label301;
            }
            if (bool2) {
              break label315;
            }
            if (d7 <= 0.0D) {
              break label301;
            }
            localDouble.setLocation(d4 + 0.5D * d6, d5 + 0.5D * d7);
            if (bool2) {
              break label315;
            }
            if (!bool1) {
              break label301;
            }
          }
        }
      }
      label208:
      double d8 = d4 - 10.0D;
      double d9 = d5 - 10.0D;
      double d10 = d6 + 20.0D;
      double d11 = d7 + 20.0D;
      if (!bool2) {
        if (d2 / d3 > d10 / d11)
        {
          if (bool2) {
            break label276;
          }
          d1 = d3 / d11;
          if (!bool1) {
            break label278;
          }
        }
      }
      label276:
      d1 = d2 / d10;
      label278:
      localDouble.setLocation(d8 + 0.5D * d10, d9 + 0.5D * d11);
      label301:
      a(d1, localDouble, true);
      l();
      label315:
      if (!bool2)
      {
        if (i1 == 20) {
          b(20);
        }
        if (bool2) {}
      }
      else
      {
        if (i2 != 30) {
          return;
        }
        if (bool2) {
          break label359;
        }
        a(30);
      }
      if (!bool1) {
        return;
      }
    }
    label359:
    this.q.j();
  }
  
  public int G()
  {
    return this.B;
  }
  
  public void d(int paramInt)
  {
    this.B = paramInt;
  }
  
  public Rectangle H()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    Rectangle localRectangle = this.r.d();
    if (!bool2)
    {
      if ((this.B & 0x1) != 0)
      {
        y localy = this.r.db();
        do
        {
          if (!localy.e()) {
            break;
          }
          a.d.k.a(localRectangle, ((qb)localy.j()).getBounds(), localRectangle);
          localy.f();
          if (bool2) {
            break label128;
          }
          if (bool1) {
            break label122;
          }
        } while (!bool1);
      }
      if (bool2) {}
    }
    else if (!bool2)
    {
      if ((this.B & 0x2) != 0) {
        a.d.k.a(localRectangle, this.q.K.getBounds(), localRectangle);
      }
    }
    label122:
    if ((this.B & 0x4) != 0) {
      a.d.k.a(localRectangle, this.q.L.getBounds(), localRectangle);
    }
    label128:
    return localRectangle;
  }
  
  public void a(Rectangle paramRectangle)
  {
    this.q.a(paramRectangle);
  }
  
  public Dimension I()
  {
    return new Dimension(this.q.F(), this.q.G());
  }
  
  public void a(Graphics2D paramGraphics2D)
  {
    AffineTransform localAffineTransform = paramGraphics2D.getTransform();
    Shape localShape = paramGraphics2D.getClip();
    paramGraphics2D.clipRect(0, 0, this.q.F(), this.q.G());
    this.q.paintComponent(paramGraphics2D);
    paramGraphics2D.setTransform(localAffineTransform);
    paramGraphics2D.setClip(localShape);
  }
  
  public void a(double paramDouble1, double paramDouble2)
  {
    this.q.b(paramDouble1, paramDouble2);
  }
  
  public Point2D J()
  {
    return this.q.h();
  }
  
  public Dimension K()
  {
    return this.q.getSize();
  }
  
  public void b()
  {
    p();
    q();
    this.q.e();
  }
  
  public void a(Rectangle2D paramRectangle2D)
  {
    a(paramRectangle2D.getX(), paramRectangle2D.getY(), paramRectangle2D.getWidth(), paramRectangle2D.getHeight());
  }
  
  public void a(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    p();
    q();
    this.q.a(paramDouble1, paramDouble2, paramDouble3, paramDouble4);
  }
  
  void b(Graphics2D paramGraphics2D)
  {
    C().d(paramGraphics2D);
  }
  
  void c(Graphics2D paramGraphics2D)
  {
    C().e(paramGraphics2D);
  }
  
  void d(Graphics2D paramGraphics2D)
  {
    C().f(paramGraphics2D);
  }
  
  protected void a(Graphics2D paramGraphics2D, Rectangle2D paramRectangle2D)
  {
    boolean bool = ld.E;
    Color localColor1 = paramGraphics2D.getColor();
    Stroke localStroke = paramGraphics2D.getStroke();
    Object localObject2 = paramRectangle2D;
    Object localObject1 = getClientProperty("selectionbox.rectangularshape");
    if (!bool)
    {
      if ((localObject1 instanceof RectangularShape))
      {
        localObject2 = (RectangularShape)localObject1;
        ((RectangularShape)localObject2).setFrame(paramRectangle2D);
      }
      localObject1 = getClientProperty("selectionbox.fillcolor");
    }
    if (!bool)
    {
      if ((localObject1 instanceof Color))
      {
        paramGraphics2D.setColor((Color)localObject1);
        paramGraphics2D.fill((Shape)localObject2);
      }
      localObject1 = getClientProperty("selectionbox.stroke");
    }
    BasicStroke localBasicStroke = (bool) || ((localObject1 instanceof Stroke)) ? (Stroke)localObject1 : new BasicStroke();
    localObject1 = getClientProperty("selectionbox.linecolor");
    Color localColor2 = (bool) || ((localObject1 instanceof Color)) ? (Color)localObject1 : Color.BLACK;
    paramGraphics2D.setStroke(localBasicStroke);
    paramGraphics2D.setColor(localColor2);
    paramGraphics2D.draw((Shape)localObject2);
    paramGraphics2D.setColor(localColor1);
    paramGraphics2D.setStroke(localStroke);
  }
  
  public void L()
  {
    this.q.o();
  }
  
  public double M()
  {
    return this.q.i();
  }
  
  public void b(double paramDouble)
  {
    this.q.a(paramDouble);
  }
  
  public void c(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    this.q.b(paramDouble1, paramDouble2, paramDouble3, paramDouble4);
  }
  
  public void a(Cursor paramCursor)
  {
    boolean bool = ld.E;
    if ((bool) || (this.q.getCursor() != paramCursor))
    {
      this.q.setCursor(paramCursor);
      if ((bool) || (this.A != null)) {
        this.A.setCursor(paramCursor);
      }
    }
  }
  
  public Cursor O()
  {
    return this.q.getCursor();
  }
  
  public g a()
  {
    return this.r;
  }
  
  public void b(g paramg)
  {
    if ((ld.E) || (paramg != this.r))
    {
      this.r.c(this);
      g localg = this.r;
      this.r = paramg;
      paramg.b(this);
      firePropertyChange("Graph2D", localg, paramg);
    }
  }
  
  public uc P()
  {
    return this.s;
  }
  
  public void a(uc paramuc)
  {
    this.s = paramuc;
  }
  
  public void e(int paramInt)
  {
    this.q.a(paramInt);
  }
  
  public void b(Rectangle paramRectangle)
  {
    this.q.e(paramRectangle);
  }
  
  public void b(Rectangle2D paramRectangle2D)
  {
    this.q.a(paramRectangle2D);
  }
  
  public void a(JPopupMenu paramJPopupMenu, double paramDouble1, double paramDouble2)
  {
    boolean bool3 = ld.E;
    if (paramJPopupMenu == null) {
      return;
    }
    if (!bool3) {
      if (this.A != null)
      {
        if (bool3) {
          break label147;
        }
        if (this.A.isVisible())
        {
          if (!bool3) {}
          boolean bool1 = this.A.getMouseListeners().length == 0;
          if (!bool3) {
            if (bool1) {
              this.A.addMouseListener(this.C);
            }
          }
          if (!bool3) {}
          boolean bool2 = this.A.getMouseMotionListeners().length == 0;
          if (bool2) {
            this.A.addMouseMotionListener(this.C);
          }
          paramJPopupMenu.addPopupMenuListener(new PopupMenuListener()
          {
            private final JPopupMenu val$popup;
            private final boolean val$recordMotion;
            private final boolean val$recordMouse;
            
            public void popupMenuCanceled(PopupMenuEvent paramAnonymousPopupMenuEvent) {}
            
            public void popupMenuWillBecomeInvisible(PopupMenuEvent paramAnonymousPopupMenuEvent)
            {
              boolean bool = ld.E;
              this.val$popup.removePopupMenuListener(this);
              if (!bool) {
                if (this.val$recordMotion) {
                  pg.this.A.removeMouseMotionListener(pg.this.C);
                }
              }
              if ((bool) || (this.val$recordMouse)) {
                pg.this.A.removeMouseListener(pg.this.C);
              }
            }
            
            public void popupMenuWillBecomeVisible(PopupMenuEvent paramAnonymousPopupMenuEvent) {}
          });
        }
      }
    }
    label147:
    int i1 = this.q.e(paramDouble1) + 1;
    int i2 = this.q.f(paramDouble2) + 1;
    paramJPopupMenu.show(this.q, i1, i2);
  }
  
  public Frame c()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    do
    {
      Container localContainer = getParent();
      while (!bool1)
      {
        if (localContainer == null) {
          break;
        }
        if (!bool2)
        {
          if ((localContainer instanceof Frame)) {
            return (Frame)localContainer;
          }
          localContainer = localContainer.getParent();
        }
      }
    } while (bool2);
    return null;
  }
  
  public void f(boolean paramBoolean)
  {
    this.q.d(paramBoolean);
  }
  
  public void a(hg paramhg, double paramDouble1, double paramDouble2)
  {
    this.q.a(paramhg, paramDouble1, paramDouble2, null, false);
  }
  
  public void a(hg paramhg, double paramDouble1, double paramDouble2, PropertyChangeListener paramPropertyChangeListener)
  {
    this.q.a(paramhg, paramDouble1, paramDouble2, paramPropertyChangeListener, false);
  }
  
  public void a(hg paramhg, double paramDouble1, double paramDouble2, PropertyChangeListener paramPropertyChangeListener, boolean paramBoolean)
  {
    this.q.a(paramhg, paramDouble1, paramDouble2, paramPropertyChangeListener, paramBoolean);
  }
  
  public void a(hg paramhg, double paramDouble1, double paramDouble2, PropertyChangeListener paramPropertyChangeListener, boolean paramBoolean1, boolean paramBoolean2)
  {
    this.q.a(paramhg, paramDouble1, paramDouble2, paramPropertyChangeListener, paramBoolean1, false, paramBoolean2);
  }
  
  public void b(hg paramhg, double paramDouble1, double paramDouble2, PropertyChangeListener paramPropertyChangeListener, boolean paramBoolean)
  {
    this.q.a(paramhg, paramDouble1, paramDouble2, paramPropertyChangeListener, paramBoolean, true);
  }
  
  public void b(hg paramhg, double paramDouble1, double paramDouble2, PropertyChangeListener paramPropertyChangeListener, boolean paramBoolean1, boolean paramBoolean2)
  {
    this.q.a(paramhg, paramDouble1, paramDouble2, paramPropertyChangeListener, paramBoolean1, true, paramBoolean2);
  }
  
  public Component d()
  {
    return this;
  }
  
  public Rectangle getVisibleRect()
  {
    return this.q.getVisibleRect();
  }
  
  public Rectangle2D Q()
  {
    return this.q.y();
  }
  
  public void print(Graphics paramGraphics)
  {
    this.q.print(paramGraphics);
  }
  
  public void b(int paramInt1, int paramInt2)
  {
    this.q.a(paramInt1, paramInt2);
  }
  
  public void b(double paramDouble1, double paramDouble2)
  {
    this.q.a(paramDouble1, paramDouble2);
  }
  
  public Point R()
  {
    return this.q.f();
  }
  
  public Point2D S()
  {
    return this.q.g();
  }
  
  JComponent T()
  {
    return this.q.b();
  }
  
  public ze e()
  {
    return this;
  }
  
  public void a(cf paramcf) {}
  
  public void a(qb paramqb)
  {
    C().a(paramqb);
  }
  
  public Collection U()
  {
    return C().p();
  }
  
  public void b(qb paramqb)
  {
    C().b(paramqb);
  }
  
  public void c(qb paramqb)
  {
    C().c(paramqb);
  }
  
  public Collection V()
  {
    return C().q();
  }
  
  public void d(qb paramqb)
  {
    C().d(paramqb);
  }
  
  public hc W()
  {
    return this.q.z();
  }
  
  public void a(hc paramhc)
  {
    this.q.a(paramhc);
  }
  
  public void c(double paramDouble)
  {
    this.q.b(paramDouble);
  }
  
  public double X()
  {
    return this.q.r();
  }
  
  public int d(double paramDouble)
  {
    return this.q.e(paramDouble);
  }
  
  public int e(double paramDouble)
  {
    return this.q.f(paramDouble);
  }
  
  public double f(int paramInt)
  {
    return this.q.c(paramInt);
  }
  
  public double g(int paramInt)
  {
    return this.q.d(paramInt);
  }
  
  public void a(db paramdb)
  {
    this.q.a(paramdb);
  }
  
  public db Y()
  {
    return this.q.B();
  }
  
  public void a(a.b.k paramk)
  {
    boolean bool2 = ld.E;
    if (!bool2) {}
    switch (paramk.a())
    {
    case 0: 
      Object localObject = paramk.getSource();
      if (((bool2) || ((localObject instanceof d))) && ((bool2) || (((d)localObject).d()))) {
        if (bool2) {}
      }
      int i1 = ((d)localObject).c() ? 1 : 0;
      boolean bool1 = C().I();
      if (!bool2)
      {
        if (i1 != 0) {
          C().f(true);
        }
        if (!bool2) {
          b();
        }
      }
      else
      {
        if (i1 == 0) {
          break;
        }
      }
      C().f(bool1);
    }
  }
  
  public boolean isFocusTraversable()
  {
    return true;
  }
  
  public void setToolTipText(String paramString)
  {
    this.q.setToolTipText(paramString);
  }
  
  public JToolTip createToolTip()
  {
    ug localug = new ug();
    localug.setComponent(this);
    return localug;
  }
  
  public void a(double paramDouble, Point2D paramPoint2D, boolean paramBoolean)
  {
    boolean bool = ld.E;
    if (!bool)
    {
      if (paramBoolean)
      {
        a(a(paramDouble, paramPoint2D));
        if (bool) {
          break label48;
        }
      }
    }
    else if (!ld.D) {
      return;
    }
    a(paramPoint2D.getX(), paramPoint2D.getY());
    label48:
    b(paramDouble);
  }
  
  c a(double paramDouble, Point2D paramPoint2D)
  {
    bf localbf = new bf(this);
    return a.a(localbf.a(paramDouble, s.b(paramPoint2D), 500L));
  }
  
  void a(c paramc)
  {
    d locald = new d();
    locald.a(this);
    locald.a(paramc);
  }
  
  boolean Z()
  {
    return this.q.H();
  }
  
  public boolean ab()
  {
    return this.q.K();
  }
  
  public void g(boolean paramBoolean)
  {
    this.q.h(paramBoolean);
  }
  
  public void registerKeyboardAction(ActionListener paramActionListener, String paramString, KeyStroke paramKeyStroke, int paramInt)
  {
    this.q.registerKeyboardAction(paramActionListener, paramString, paramKeyStroke, paramInt);
  }
  
  public void registerKeyboardAction(ActionListener paramActionListener, KeyStroke paramKeyStroke, int paramInt)
  {
    this.q.registerKeyboardAction(paramActionListener, paramKeyStroke, paramInt);
  }
  
  public void unregisterKeyboardAction(KeyStroke paramKeyStroke)
  {
    this.q.unregisterKeyboardAction(paramKeyStroke);
  }
  
  public void requestFocus()
  {
    this.q.requestFocus();
  }
  
  public void a(RenderingHints paramRenderingHints)
  {
    if (paramRenderingHints == null) {
      throw new IllegalArgumentException("RenderingHints cannot be null");
    }
    this.D = paramRenderingHints;
  }
  
  public RenderingHints bb()
  {
    return this.D;
  }
  
  public void a(rc paramrc)
  {
    new ec((byte)1).d(this, a(), paramrc);
  }
  
  public void b(rc paramrc)
  {
    ec localec = new ec((byte)3);
    localec.e().b(true);
    localec.e().a(true);
    localec.d(this, a(), paramrc);
  }
  
  private static final class c_
    implements MouseInputListener
  {
    MouseEvent a;
    
    private c_() {}
    
    public void mouseClicked(MouseEvent paramMouseEvent)
    {
      this.a = paramMouseEvent;
    }
    
    public void mouseEntered(MouseEvent paramMouseEvent)
    {
      this.a = paramMouseEvent;
    }
    
    public void mouseExited(MouseEvent paramMouseEvent)
    {
      this.a = paramMouseEvent;
    }
    
    public void mousePressed(MouseEvent paramMouseEvent)
    {
      this.a = paramMouseEvent;
    }
    
    public void mouseReleased(MouseEvent paramMouseEvent)
    {
      this.a = paramMouseEvent;
    }
    
    public void mouseDragged(MouseEvent paramMouseEvent)
    {
      this.a = paramMouseEvent;
    }
    
    public void mouseMoved(MouseEvent paramMouseEvent)
    {
      this.a = paramMouseEvent;
    }
    
    c_(pg.0 param0)
    {
      this();
    }
  }
  
  class d_
    implements AdjustmentListener
  {
    d_() {}
    
    public void adjustmentValueChanged(AdjustmentEvent paramAdjustmentEvent)
    {
      boolean bool = ld.E;
      if (pg.this.y) {
        return;
      }
      if (!bool) {
        if (paramAdjustmentEvent.getAdjustable() == pg.this.u)
        {
          pg.this.q.a(paramAdjustmentEvent.getValue(), pg.this.q.s.y);
          if (!bool)
          {
            if (pg.this.q.getWidth() <= 0) {
              return;
            }
            pg.this.q.e();
          }
        }
      }
      if ((ld.D) && (paramAdjustmentEvent.getAdjustable() == pg.this.t))
      {
        pg.this.q.a(pg.this.q.s.x, paramAdjustmentEvent.getValue());
        if ((bool) || (pg.this.q.getWidth() > 0)) {
          pg.this.q.e();
        }
      }
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.pg

 * JD-Core Version:    0.7.0.1

 */